package com.raymond.mapper.employee;

import com.raymond.entity.employee.EmployeeEntity;
import com.raymond.entity.employee.EmployeePageQueryReqVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * desc-
 *
 * @author houmenghe
 * @date 2025/04/16 18:49
 **/
@Repository
public interface EmployeeMapper {

    EmployeeEntity selectEmployeeById(Long id);

    int insertEmployee(EmployeeEntity employee);

    int updateEmployee(EmployeeEntity employee);

    List<EmployeeEntity> searchList(EmployeePageQueryReqVo query);

    int count(EmployeePageQueryReqVo query);

    int deleteEmployeeById(Long id);
}
